"longtable.sty", by David Carlisle, defines the "longtable" environment, for making multipage tables. "" will not work with "longtable". However, "colortab" contains other macros that will work, if you use "longtable.sty" in conjunction with Frank Mittelbach's "array.sty". These macros have been tested only briefly, with version 3.04 of "longtable.sty" and version 2.1b of "array.sty".
Before every column identifier in the environment's argument (e.g., "c", "l", "r", "p", "m" or "b"), put
Then include
\LColors <color> & <color> & ... & <color>\\in the first row of the environment, and later on as well if you wish to change the colors. Here also you have to include every column, but you can leave an entry blank if you don't want any background color in that column.
The color comes out right, or at all, only after you have run the file enough times for "longtable.sty" to set the alignment correctly.
Here is an example. The output will appear in this documentation only if
"longtable.sty" or "longtabl.sty" is installed on your system.
c@LT@tablestestfalsed@llarbegintestfalse